body {
    background-color: rgb(226, 226, 226);
}

#main {
    width: 1190px;
    margin: 0 auto;
    background-color: #eee;
    position: relative;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    /* padding-left: 16px;
    padding-right: 16px; */
}

.navbar {
    margin-bottom: 0px;
}

.navbar-collapse li a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 100%;
    border-bottom: 2px solid;
    transition: 0.2s linear;
}

.navbar-collapse a:hover::before {
    width: 100%;
    top: 0;
    left: 0;
    transition-delay: 0.1s;
    border-bottom-color: #000;
}

#fire {
    width: 26px;
    height: 62px;
    display: none;
    position: fixed;
    right: 50px;
    bottom: 200px;
    z-index: 20;
    animation: fire .5s ease infinite;
    background: url(../images/fire.png) 0 -62px no-repeat;
}

@keyframes fire {
    0%,
    100% {
        transform: translateY(-5px);
        transform: scaleY(1.2);
    }
    50% {
        transform: translateY(25px);
    }
}

.search {
    width: 1190px;
    height: 60px;
    background-color: transparent;
    position: relative;
}

.search [type='text'],
.fixed [type='text'] {
    width: 350px;
    height: 35px;
    position: absolute;
    text-indent: 1em;
    top: 50%;
    left: 50%;
    border: 1px solid #aaa;
    transform: translate(-50%, -50%);
    border-radius: 10px;
}

.search [type='button'],
.fixed [type='button'] {
    position: absolute;
    width: 50px;
    height: 35px;
    top: 50%;
    left: 50%;
    border: 1px solid #aaa;
    border-left: transparent;
    transform: translate(250%, -50%);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.fixed {
    width: 1190px;
    height: 60px;
    top: 0;
    transition: .7s ease-in;
    background-color: rgba(207, 207, 207, 0.6);
    position: fixed;
    z-index: 20;
}

.classify {
    overflow: hidden;
    margin-top: 10px;
    width: 100%;
    height: 400px;
    position: relative;
}

#show {
    width: 800px;
    height: 400px;
    margin-left: 180px;
    display: none;
    position: absolute;
    background-color: #ffe;
    border: 1px solid #ccc;
    z-index: 2;
}

.sub-item {
    width: 800px;
    height: 400px;
    position: absolute;
}

#show .sub-item .sub-item-top {
    width: 800px;
    height: 30px;
    position: relative;
    border-bottom: 1px solid #ccc;
}

#show .sub-item .sub-item-top span {
    display: block;
    width: 100px;
    height: 30px;
    text-align: center;
    position: absolute;
    background-color: #ffe;
    top: 15px;
    left: 50%;
    margin-left: -50px;
    font-size: 20px;
}

#show .sub-item .sub-item-bottom {
    width: 800px;
    height: 370px;
    position: relative;
    margin-top: 20px;
}

.sub-item-bottom ul li {
    width: 150px;
    margin-left: 10px;
    margin-top: 10px;
    height: 160px;
    text-align: center;
    position: relative;
    border: 2px solid transparent;
    float: left;
}

.sub-item-bottom ul li:hover {
    cursor: pointer;
    border: 2px solid #aae;
    transition: 1s ease-out;
    border-left: 2px solid #aef;
    border-bottom: 2px solid #aef;
    box-shadow: 1px 1px 10px 3px #ccc;
}

.sub-item-bottom ul li img {
    width: 120px;
    height: 120px;
    margin-left: 15px;
    margin-top: 5px;
    float: left;
}

.sub-item-bottom ul li span {
    display: block;
    font-size: 16px;
    color: tomato;
}

#nav {
    position: relative;
    float: left;
    width: 180px;
    height: 400px;
    z-index: 2;
    background: rgb(59, 59, 59);
    color: #aef;
    font-weight: 400;
}

#nav ul {
    width: 180px;
    height: 400px;
}

#nav li {
    width: 180px;
    height: 80px;
    font-size: 18px;
    line-height: 80px;
    position: relative;
    text-align: center;
    overflow: hidden;
    transition: .5s ease-out;
}

@media screen and (max-width:1200px) {}

#nav li:hover {
    background-color: rgb(72, 212, 166);
    cursor: pointer;
    color: #fff;
}

#nav li::before {
    content: '';
    position: absolute;
    z-index: 3;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    transition: .5s;
}

#nav li:hover::before {
    left: 100%;
}

.item {
    position: relative;
    width: 1000px;
    height: 400px;
}

.item img {
    width: 1000px;
    height: 400px;
}

.thumbnail {
    width: 245px;
    height: 400px;
    float: left;
    position: relative;
    margin-left: 34px;
}

.thumbnail:hover {
    cursor: pointer;
    border: 1px solid #ccc;
    transition: .2s ease-out;
    box-shadow: 1px 2px 5px 1px yellowgreen;
    transform: scale(1.01);
}

.row {
    border: 1px solid #ccc;
    border-top: 1px solid #eee;
    border-radius: 10px;
    margin-top: 15px;
}

.thumbnail img {
    width: 220px;
    height: 260px;
    margin-top: 10px;
    margin-left: 5px;
    float: left;
    border: 1px solid #ccc;
}

.thumbnail h3 {
    font-size: 18px;
    margin-left: 1px;
}

.caption {
    width: 220px;
    height: 150px;
}

.good-top {
    width: 220px;
    height: 77px;
    font-size: 18px;
    overflow: hidden;
    float: left;
    text-overflow: ellipsis;
}

.good-bottom {
    width: 120px;
    height: 50px;
    float: left;
}

.thumbnail p {
    font-size: 18px;
}

a {
    font-size: 18px;
}

a:link {
    color: #000;
}

a:visited {
    color: #000;
}

a:hover {
    color: green;
}

#footer_main {
    width: 1190px;
    height: 150px;
    margin: 0 auto;
    color: #ccc;
}

.admin_infos {
    width: 900px;
    height: 130px;
    position: absolute;
    margin: 10px 200px;
}

.admin_infos p {
    font-size: 19px;
}

.admin {
    width: 200px;
    height: 85px;
    float: left;
    margin-top: 15px;
    margin-left: 20px;
}

.admin_tou {
    width: 85px;
    height: 85px;
    float: left;
}

.admin_tou img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    size: 100% 100%;
}

.admin_info {
    width: 85px;
    height: 85px;
    float: left;
}

.admin_info p {
    margin-left: 10px;
    font-size: 17px;
}

.wuxian {
    width: 1190px;
    height: 320px;
    position: relative;
    background-color: #fff;
    margin: 0 auto;
    left: 0;
}


/*无限移动开始*/

.box1 {
    width: 190px;
    height: 255px;
    float: left;
    margin-left: 30px;
}

#box {
    width: 900px;
    height: 255px;
    float: left;
    overflow: hidden;
}

#box ul li {
    margin-top: -8px;
    width: 300px;
    height: 255px;
    float: left;
}

#box ul {
    width: 3600px;
    animation-name: move;
    animation-duration: 15s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes move {
    form {
        transform: translateX(0px);
    }
    to {
        transform: translateX(-2700px);
    }
}

#footer {
    width: 100%;
    height: 150px;
    margin-top: 150px;
    position: relative;
    bottom: 0;
    background-color: #333;
}